﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utilities;

namespace Domain.Models
{
    public class RepairingTicketHistory
    {
        #region Public Properties

        public long ID { get; set; }
        public long TicketID { get; set; }
        public int Repairer { get; set; }
        public long Status { get; set; }
        public int RepairingType { get; set; }
        public string CreatedDate { get; set; }
        public string NextRepairingDate { get; set; }
        public string Description { get; set; }
        public decimal Cost { get; set; }
        public string Note { get; set; }
        public string IsLastest { get; set; }
        public string IsDeleted { get; set; }
        public string IsValidWarranty { get; set; }
        public string WarrantyNote { get; set; }
        public int WarrantyConfirmer { get; set; }
        public string WarrantyConfirmDate { get; set; } 
        public int RepairQualityID { get; set; }
        public string RepairQualityNote { get; set; }
        public int RepairQualityConfirmer { get; set; }
        public string RepairQualityConfirmDate { get; set; } 

        #endregion

        #region Constructors

        public RepairingTicketHistory()
        {
            this.ID = MyConfig.NullNumber;
            this.TicketID = MyConfig.NullNumber;
            this.Repairer = MyConfig.NullNumber;
            this.Status = MyConfig.NullNumber;
            this.RepairingType = MyConfig.NullNumber;
            this.CreatedDate = string.Empty;
            this.NextRepairingDate = string.Empty;
            this.Description = string.Empty;
            this.Cost = 0;
            this.Note = string.Empty;
            this.IsLastest = "1";
            this.IsDeleted = "0";
            this.IsValidWarranty = string.Empty;
            this.WarrantyNote = string.Empty;
            this.WarrantyConfirmer = MyConfig.NullNumber;
            this.WarrantyConfirmDate = string.Empty;
            this.RepairQualityID = MyConfig.NullNumber;
            this.RepairQualityNote = string.Empty;
            this.RepairQualityConfirmer = MyConfig.NullNumber;
            this.RepairQualityConfirmDate = string.Empty;
        }

        #endregion
    }
}
